package com.guli.cart.feign;

import com.guli.cart.vo.CartItemVo;
import com.guli.common.utils.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author WZH
 * @title: FeignSkuInfo
 * @projectName gulimall-java
 * @description:
 * @date 2022/1/19
 */
@FeignClient("gulimall-product")
public interface FeignSkuInfo {

    @GetMapping("product/skuinfo/getCart/{skuId}")
    R getCart(@PathVariable("skuId") String skuId);
}
